package cn.s1995.sloth.bizs.entity;

import cn.s1995.sloth.bizs.entity.base.BaseQueryEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 国家
 *
 * @author Lex
 * @date 2024-01-18 10:21:12
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "国家")
@TableName("world_countries")
public class WorldCountries extends BaseQueryEntity {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Integer id;

	/**
	* name
	*/
    @Schema(description = "name")
    private String name;

	/**
	* iso3
	*/
    @Schema(description = "iso3")
    private String iso3;

	/**
	* numericCode
	*/
    @Schema(description = "numericCode")
    private String numericCode;

	/**
	* iso2
	*/
    @Schema(description = "iso2")
    private String iso2;

	/**
	* phonecode
	*/
    @Schema(description = "phonecode")
    private String phonecode;

	/**
	* capital
	*/
    @Schema(description = "capital")
    private String capital;

	/**
	* currency
	*/
    @Schema(description = "currency")
    private String currency;

	/**
	* currencyName
	*/
    @Schema(description = "currencyName")
    private String currencyName;

	/**
	* currencySymbol
	*/
    @Schema(description = "currencySymbol")
    private String currencySymbol;

	/**
	* tld
	*/
    @Schema(description = "tld")
    private String tld;

	/**
	* native
	*/
    @Schema(description = "native")
    private String natives;

	/**
	* region
	*/
    @Schema(description = "region")
    private String region;

	/**
	* regionId
	*/
    @Schema(description = "regionId")
    private Integer regionId;

	/**
	* subregion
	*/
    @Schema(description = "subregion")
    private String subregion;

	/**
	* subregionId
	*/
    @Schema(description = "subregionId")
    private Integer subregionId;

	/**
	* nationality
	*/
    @Schema(description = "nationality")
    private String nationality;

	/**
	* timezones
	*/
    @Schema(description = "timezones")
    private String timezones;

	/**
	* translations
	*/
    @Schema(description = "translations")
    private String translations;

	/**
	* latitude
	*/
    @Schema(description = "latitude")
    private BigDecimal latitude;

	/**
	* longitude
	*/
    @Schema(description = "longitude")
    private BigDecimal longitude;

	/**
	* emoji
	*/
    @Schema(description = "emoji")
    private String emoji;

	/**
	* emojiU
	*/
    @Schema(description = "emojiU")
	@TableField("emojiU")
    private String emojiU;

	/**
	* createdAt
	*/
    @Schema(description = "createdAt")
    private LocalDateTime createdAt;

	/**
	* updatedAt
	*/
    @Schema(description = "updatedAt")
    private LocalDateTime updatedAt;

	/**
	* flag
	*/
    @Schema(description = "flag")
    private Integer flag;

	/**
	* Rapid API GeoDB Cities
	*/
    @Schema(description = "Rapid API GeoDB Cities")
	@TableField("wikiDataId")
    private String wikiDataId;
}
